<template>
    <div class="btn-more flex">
        <p class="text fz16">了解更多</p>
        <img v-if="!isOrange" src="@/assets/img/arrow-right-white.png" width=6px height=9px>
        <img v-else src="@/assets/img/arrow-right-orange.png" width=6px height=9px>
    </div>
</template>

<script>
export default {
  name: 'BtnMore',
  props: {
    BtnColor: {
      type: String,
      default: 'white'
    },
    IsBtnOrange: {
      type: Boolean,
      default: false
    }
  },
  data () {
    return {
      color: this.BtnColor,
      isOrange: this.IsBtnOrange
    }
  }
}
</script>

<style lang="scss" scoped>
.btn-more {
    align-items: center;
    border-radius: 20px;
    width: 82px;
    height: 30px;
    padding: 3px 22px;
    color: v-bind(color);
    border: 1px solid v-bind(color);
    cursor: pointer;
    img {
        padding-left: 5px;
        margin-top: 2px;
        transition: linear .2s;
    }
    &:hover img {
        transform: translateX(5px);
    }
}

</style>

<style>

</style>
